package com.xucranger.ojapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xucranger.ojapi.enity.DTO.AtcoderQueryDTO;
import com.xucranger.ojapi.enity.DTO.RankDTO;
import com.xucranger.ojapi.enity.DTO.common.PageResultDTO;
import com.xucranger.ojapi.enity.DTO.common.ResponseDTO;
import com.xucranger.ojapi.enity.VO.AtcoderVO;
import com.xucranger.ojapi.enity.VO.CareeVO;
import com.xucranger.ojapi.enity.VO.RankVO;
import com.xucranger.ojapi.enity.domain.Atcoder;

/**
* @author xucranger
* @description 针对表【atcoder】的数据库操作Service
* @createDate 2022-08-16 09:16:07
*/
public interface AtcoderService extends IService<Atcoder> {

    ResponseDTO<PageResultDTO<AtcoderVO>> queryContestbyid(AtcoderQueryDTO queryDTO);


    ResponseDTO<PageResultDTO<AtcoderVO>> queryContestbycontestname(AtcoderQueryDTO queryDTO);

    ResponseDTO<PageResultDTO<AtcoderVO>> queryContestbycontestname(String contestname);

    ResponseDTO<CareeVO> queryCareeByAcid(String acid);

    ResponseDTO<PageResultDTO<RankVO>> rank(RankDTO rankDTO);
}
